using UnityEngine;
using System.Collections;

/// \class  gkFixedUpdateTransformPhysicController
/// \brief  Physic component for actor controlled by transform running with fix update
[AddComponentMenu("GK/Engine/Core/Physic/gkFixedUpdateTransformPhysicController")]
public class gkFixedUpdateTransformPhysicController : gkTransformPhysicController
{
    /// \brief  Called each frame
    protected override void LateUpdate()
    {
		// Remove the late update
    }
	
	/// \brief  Called each frame
    protected virtual void FixedUpdate()
    {
		// Replace the late update by a fixed update
		UpdatePhysicController();
    }
}